package com.hfh.jdbc;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * @Author hfh
 * @Date 2022 09 20 20 29
 **/
public class Test1 {
    public static void main(String[] args) throws SQLException {

        Connection con = DSUtils.getConnection();
        System.out.println(con);
        /*String sql = "update beauty set name = '西施' where id = 1";
        PreparedStatement ps =con.prepareStatement(sql);
        int i = ps.executeUpdate();
        DSUtils.close(con,ps);*/

    }

}
